home *** CD-ROM | disk | FTP | other *** search
/ BCI NET 2 / BCI NET 2.iso / archives / programming / amos / amoslist-1294.lzh / AMOSLIST / text0114.txt < prev    next >
Encoding:
Text File  |  1995-01-03  |  908 b   |  26 lines

  1. > > Does amos support booleans ?
  2. > No.
  3. > > I need an array of 19 x 29 x 3 Booleans..
  4. > > 
  5. > > I know I can stuff the three bits in one integer...
  6. > > But then I must check with 'AND's.. which is slow.
  7. > > And add them with 'OR's..
  8. >     Or use the Btst function.  You can test specific bits of an integer
  9. > and it's probably implemented with an identical machine language instruction
  10. > so it is probably pretty fast.
  11.  
  12. Ah, yes but can I also SET bits ?
  13.                                            MERRY    +
  14. Greetings from:   Dave 'Dopex' Vissers     X-MAS   / \
  15.                   D.Vissers@HI.FT.HSE.NL          /_ _\
  16.                                                     |
  17. My modules are available on...     F:\pub\amiga\mods\dopex
  18. HI.FT.HSE.NL   /   145.85.114.1   /   145.85.113.2
  19.  
  20. PENTIUM: Press Enter Now To Initiate Unpredictable Mathematics
  21.          ^     ^     ^   ^  ^        ^             ^
  22.  
  23.